Eternal AI

An OpenAI-compatible AI API, served from Iran

Building a product that needs AI? Call Eternal's API like OpenAI's — no sanctions, no foreign card, low latency inside Iran.

Create an API key

Works with the OpenAI libraries

/v1/models and /v1/chat/completions follow the OpenAI format, with streaming and reasoning_effort. Change the base URL and key in your code.

Three steps

FAQ

Can I use the openai Python library?

Yes — set base_url to https://api.etai.ir/api/v1 and api_key to your Eternal key.

Does it support streaming?

Yes, stream: true returns OpenAI-style SSE events.

An OpenAI-compatible AI API, served from Iran

Create an API key

Read more