All Collections
API
Text generation (Chat Completions and Completions)
How do I use the OpenAI API with text in different languages?
How do I use the OpenAI API with text in different languages?

Using OpenAI models for non-english text generation and understanding use cases

Updated over a week ago

While the OpenAI Platform site is only available in English, you can use our models to work with text that spans multiple languages. The models are optimized for use in English, but many of them are robust enough to generate good results for a variety of languages. GPT-4 achieves robust performance on many multiple lingual language tasks.

When thinking about how to use OpenAI models with text in different languages, we recommend starting with one of our pre-made prompts, such as this English to French prompt example.

If you write your prompt to in Spanish, you're more likely to receive a response in Spanish.

Did this answer your question?