iconSaladict

Claude

OpenAI API Compatibility

This service is not compatible with the OpenAI API.

Models and Pricing

You can view the descriptions of each model in the Claude model introduction. It is recommended to use the following models for translation:

  • claude-3-5-haiku-latest: The input price is $1 per million tokens, and the output price is $5 per million tokens.
  • claude-3-5-sonnet-latest: The input price is $3 per million tokens, and the output price is $15 per million tokens.
  • claude-3-opus-20240229: The input price is $15 per million tokens, and the output price is $75 per million tokens.

Claude does not have a free quota. "Input" refers to the text you send to the model for translation, and "output" refers to the translation result provided by the model. The final cost of a single translation = number of input tokens * input price + number of output tokens * output price. 1 token roughly corresponds to 1 Chinese character or 3 to 4 letters.

Application Steps

Please refer directly to: Claude Official Documentation

Error Troubleshooting

You can click the following link to see the specific reasons for errors.

https://docs.anthropic.com/en/api/errors

On this page