Source: https://www.tokenify.dev/models/papaya-1-0/

# Papaya 1.0 API

A text model tuned for rewriting and expanding prompts for image and video generation, with a 256K context.

$0.150 per 1M input and $0.450 per 1M output. 262K context.

[Get a Papaya 1.0 API key](https://www.tokenify.dev/app/signup) [Read the quickstart →](https://www.tokenify.dev/docs/quickstart/)

## Call it in three lines

**Python**

```python
import os

from openai import OpenAI

client = OpenAI(
    base_url="https://api.tokenify.dev/v1",
    api_key=os.environ["TOKENIFY_API_KEY"],
)

response = client.chat.completions.create(
    model="papaya/papaya-1.0",
    messages=[{"role": "user", "content": "Hello"}],
    max_tokens=256,
)
print(response.choices[0].message.content)
```

**TypeScript**

```typescript
import OpenAI from "openai"

const client = new OpenAI({
  baseURL: "https://api.tokenify.dev/v1",
  apiKey: process.env.TOKENIFY_API_KEY,
})

const response = await client.chat.completions.create({
  model: "papaya/papaya-1.0",
  messages: [{ role: "user", content: "Hello" }],
  max_tokens: 256,
})
console.log(response.choices[0].message.content)
```

**Python, Anthropic SDK**

```python
import os

from anthropic import Anthropic

client = Anthropic(
    base_url="https://api.tokenify.dev",
    api_key=os.environ["TOKENIFY_API_KEY"],
)

message = client.messages.create(
    model="papaya/papaya-1.0",
    max_tokens=256,
    messages=[{"role": "user", "content": "Hello"}],
)
print(message.content[0].text)
```

**curl**

```bash
curl https://api.tokenify.dev/v1/chat/completions \
  -H "Authorization: Bearer $TOKENIFY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "papaya/papaya-1.0", "messages": [{"role":"user","content":"Hello"}], "max_tokens": 256}'
```

## What it costs

A typical agent turn — a 4,000-token prompt with 2,500 of it cached, producing 600 tokens — costs **$0.00087**. A million of those turns costs **$870**.

Input / 1M

$0.150

Output / 1M

$0.450

Cache read / 1M

$0.150

## Specifications

Model ID

papaya/papaya-1.0

Context window

262K tokens

Max output

33K tokens

Family

papaya

### Capabilities

streaming tools

## Other models

- [DeepSeek V4.1 Flash $0.15/1M](https://www.tokenify.dev/models/deepseek-v4-1-flash/)
- [DeepSeek V4 Pro $0.66/1M](https://www.tokenify.dev/models/deepseek-v4-pro/)
- [DeepSeek V4 Flash $0.22/1M](https://www.tokenify.dev/models/deepseek-v4-flash/)
- [GLM 5.3 Flash $0.15/1M](https://www.tokenify.dev/models/glm-5-3-flash/)
- [GLM 5.2 $0.70/1M](https://www.tokenify.dev/models/glm-5-2/)

## How it compares

| Model      | Input  | Output | Cache read | Context |
| ---------- | ------ | ------ | ---------- | ------- |
| Papaya 1.0 | $0.150 | $0.450 | $0.150     | 262K    |

Peak rates, per 1M tokens, from the live catalogue. [All models](https://www.tokenify.dev/models/) · [the full rate card](https://www.tokenify.dev/pricing/).

## Questions about this model

Is this the same model as papaya's own API? 

Yes — Papaya 1.0 is papaya's model, served through our endpoint rather than theirs. We do not fine-tune, quantise or substitute it. What differs is the price, the API formats on offer and how it is billed.

Can I use it with Claude Code? 

Yes. Papaya 1.0 answers on the Anthropic Messages API as well as the OpenAI one, so Claude Code reaches it with three environment variables and no router. The Claude Code page has the setup and the compatibility results.

Do I need a subscription? 

No. Billing is per token from prepaid credit, with no subscription, no seats and no minimum. Credit does not expire.

Last updated 2026-12-05\. Prices come from the live catalogue at the time this page was built.
