Apex API
callstack/apex/chatApex from Callstack supports React Native and React application development. This chat API accepts text / images, provides a 262,144-token input budget and accepts max_tokens up to 131,072. Stream Apex’s text as it arrives, or let a function-call result supply the evidence for the next step in React Native development with Apex.
Workbench
These examples were written for this endpoint. Replace the prompt and sample media URLs with your own accessible inputs, then check the current quote and model availability before submitting.
- Input types
- Text
- Output types
- Text
- Input
- $0.50 / 1 million tokens
- Cached input
- $0.20 / 1 million tokens
- Output
- $3 / 1 million tokens
- Context
- 262,144
- Max output
- 131,072
$0.50/3per 1 million tokens · input / output
basic Apex is Callstack’s coding model, with particular emphasis on React Native. Send the component, the platform involved, the package versions and the observed behavior as text. A screenshot alone cannot be read by this text-only endpoint.
- 1024
- Input types
- Text
- Output types
- Text
- Input
- $0.50 / 1 million tokens
- Cached input
- $0.20 / 1 million tokens
- Output
- $3 / 1 million tokens
- Context
- 262,144
- Max output
- 131,072
$0.50/3per 1 million tokens · input / output
tool-step Apex may request a function call, but your application controls access to files and test commands. Preserve tool_call_id when returning results, then review the patch and verify it on the target platform. Streaming makes a long explanation readable before the response is complete.
- 1024
- auto
This example starts at Input $0.50 / Output $3 per 1 million tokens. The Playground updates the estimate when you change the settings.
