EN ▾
Get API key

About Ollama API

What Ollama API is

Ollama API provides a standalone, uncensored endpoint designed for developers who want to swap in a drop-in alternative without managing their own servers. It offers an OpenAI-compatible interface that supports existing SDKs, allowing you to change your base URL and key to start sending text without content refusals.

This service is built for engineers and creators who need reliable model access with a large context window and high output limits. Typical uses include integrating robust language capabilities into applications, testing model behavior, and building tools that require consistent performance without external dependencies.

What the API offers

Ollama API speaks the OpenAI chat-completions protocol, so switching an existing project usually means changing two settings: the base URL and the key. It streams responses, handles tool calls and accepts up to 100,000 tokens of context.

Costs and credit

Usage is metered per token: $0.15 per 1M input tokens and $0.50 per 1M output tokens, taken from a prepaid balance. There are no plans or monthly fees. New keys can start with a $0.50 trial credit, and a key can send up to 300 requests per minute.

Credit is added in any whole amount from $20 to $500, and larger top-ups get bonus credit: 5% from $50, 10% from $100, 15% from $200. Credit does not expire. Payment is accepted in crypto only.

Privacy and the content rule

Prompts and completions are processed to answer the request and count tokens; they are not used for training. Sexual content involving minors is refused, without exceptions.

Start in a few minutes

Get an API key, open the quickstart in the documentation and send one request from your own code. Questions about Ollama API that the docs do not answer can be sent through the contact page.

Get API key · Documentation · Contact