EN ▾

Ollama API: Token pricing

Pay only for the tokens you use with our transparent per-token pricing. There are no hidden fees, monthly subscriptions, or tiered rate changes.

No subscription. Prepaid credit never expires.

Get API key

$0.15per 1M input tokens
$0.50Output tokens / 1M
100,000token context
$0.50trial credit
300requests per minute

Cost calculator

$0.00

Worked examples

Long-form creative writing with heavy editing

Generate a 4,000-token chapter draft and receive a 1,000-token editor critique. Input cost: 4,000/1,000,000 * $0.15 = $0.0006. Output cost: 1,000/1,000,000 * $0.50 = $0.0005. Total: $0.0011.

Rapid-fire API testing

Send 100 short requests, each with 500 input tokens and 200 output tokens. Input cost: (100 * 500)/1,000,000 * $0.15 = $0.0075. Output cost: (100 * 200)/1,000,000 * $0.50 = $0.01. Total: $0.0175.

Context-heavy data analysis

Process a 50,000-token document and receive a 500-token summary. Input cost: 50,000/1,000,000 * $0.15 = $0.0075. Output cost: 500/1,000,000 * $0.50 = $0.00025. Total: $0.00775.

Transparent Token Pricing

Our ollama api charges strictly by token volume. Input tokens cost $0.15 per million, and output tokens cost $0.50 per million. This structure rewards high-volume processing while maintaining a clear cost basis for every request.

No Monthly Subscriptions

We operate on a pay as you go llm model. There are no recurring monthly fees to maintain your account or access the API. You load credits, and usage is deducted directly from that balance until it is exhausted.

Top-Up Bonuses

Increasing your balance yields immediate value. Top-ups of $50 add a 5% bonus, while $100 top-ups include a 10% bonus. These credits are added instantly to your account, allowing you to scale your usage without waiting for a new billing cycle.

Payment Methods: Card & Crypto

We accept crypto (USDT or USDC) for instant top-ups. Starting from just $20, you can fund your account quickly. This flexibility ensures you can choose the payment method that best fits your workflow.

Credit Expiration Policy

Unlike many competitors, your paid credits never expire. Whether you use them today or next year, the balance remains available. This allows you to top up during sales or when funds are convenient, without worrying about losing your investment.

Questions and answers

Do credits expire?

Paid credits never expire. You can top up at any time, and the balance will remain available for future use indefinitely.

What is the minimum top-up amount?

You can top up your account with as little as $10. This low entry point allows you to test the API with minimal financial commitment.

How do bonuses work?

Bonuses are added to your balance at the time of top-up. A $50 top-up adds 5% extra credit, and a $100 top-up adds 10%. These bonuses are immediately available for use.

Can I switch payment methods?

Yes. You can use either crypto (USDT or USDC) for your top-ups. Both methods are processed instantly, allowing you to choose based on your preference or availability.

Your key is one form away

Create an account, copy the key, change the base URL. That is the whole setup.

Get API keyRead the docs

Included with every key

One price list, one set of limits, all features on every key.

ItemValue
Tools / tool callsSupported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages
Max context100,000 tokens, input and output combined
Structured outputJSON object mode via response_format json_object
Completion lengthup to the rest of the 100,000-token window; max_tokens optional (no separate cap)
Concurrency8 requests at the same time per key
Requests per minute300/min per key
Priceinput $0.15 / 1M tokens, output $0.50 / 1M tokens
Bonus credit+5% on $50+, +10% on $100+, +15% on $200+
Free trial$0.50 for 7 days, no card · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up
Top-upUSDT (TRC20) or USDC (Base), any whole amount from $20 to $500
Subscriptionno monthly fee; paid credit does not expire

All limits and error codes are listed in the docs.