# Apex

Apex is Callstack’s agentic coding model for mobile and web development, optimized for React Native, React, and Next.js. With a 256K context window, it supports feature development, debugging, code reviews, testing, and large refactors.

- **Model ID:** `callstack/apex`
- **Type:** chat
- **Providers:** callstack
- **Context window:** 262,144
- **Maximum output tokens:** 131,072
- **Pricing:** $0.5/1M input tokens, $3/1M output tokens
- **Canonical page:** https://vercel.com/ai-gateway/models/apex

## Supported parameters

Detailed capability metadata has not been reported for this model.

## Example

```ts
import { streamText } from 'ai'

const result = streamText({
  model: 'callstack/apex',
  prompt: 'Why is the sky blue?'
})
```

## Links

- [Model page](https://vercel.com/ai-gateway/models/apex)
- [AI Gateway documentation](https://vercel.com/docs/ai-gateway)
- [Provider model documentation](https://apex.callstack.com/#ai-model)
- [Provider pricing](https://apex.callstack.com/#pricing)
