Apply 3 API

Apply 3 on AIMLAPI.

Modalities
Image, TextText
In / Out price
$0.8993/$1.32per 1M
Context window
250K tokens
Released
Sep 26, 2025

Apply 3 overview

Apply 3 specs

Model ID
relace/relace-apply-3
Developer
Relace
Context window
256,000 tokens
Max output
128,000 tokens
Input
Image, Text
Output
Text
API
OpenAI-compatible, base URL https://api.aimlapi.com/v1

Coding and code review
Generate, debug, and review code across languages, reading whole files or repos in a single prompt.

Agentic and multi-step workflows
Reliable tool-calling and instruction-following suit agent loops that plan, call tools, and iterate.

Complex reasoning
Extended reasoning improves reliability on multi-step math, logic, and technical analysis.

Long-document analysis
Summarize and extract from contracts, papers, and reports without aggressive chunking.

Use cases

Relace Apply 3 is documented as suited for merging AI-generated code edits into existing source files.

It is used for code patching and integrating diffs from models like Claude and GPT-4 into an existing codebase.

It is also suited to rapid application of updates in large files, with native support for very large contexts and a workflow designed to keep performance high while handling those files.

A third documented use case is working with code integration workflows in developer tools and APIs, where proposed changes are merged back into source code rather than rewritten from scratch.

Capabilities

  • Function calling
  • Reasoning
  • Streaming
  • Structured outputs
  • Web search

Apply 3 API pricing

Apply 3 pricing in US dollars
UsagePriceUnit
Input$0.89931M tokens
Output$1.321M tokens

Prices from the AI/ML API price list, checked on Nov 4, 2026.

Apply 3 vs other models: token prices

AI/ML API input and output rates for 5 models, per million tokens.

AI/ML API model prices in USD per million tokens
ModelInputOutput
Apply 3$0.8993$1.32
ERNIE 4.5 VL 424B A47B$0.429$1.29
DeepSeek V4 Flash Vision Exp$0.44$1.32
GPT-5.4 Nano$0.2116$1.32
Search$1.06$3.17

How to use the Apply 3 API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/chat/completions' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "relace/relace-apply-3",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'

Related articles

All posts

Apply 3 FAQ

What is the context window of Apply 3?

Apply 3 has a 256,000 tokens context window and can return up to 128,000 tokens.

What inputs and outputs does Apply 3 support?

Apply 3 takes image, text as input and returns text.

What is the model ID for Apply 3?

Use relace/relace-apply-3 as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.

How much does Apply 3 cost?

Apply 3 costs $0.8993 input and $1.32 output per 1M tokens on AI/ML API, billed as you go with no subscription.

Does Apply 3 support streaming?

Yes, Apply 3 can stream responses as they are generated.

Can Apply 3 read images?

Yes, Apply 3 accepts image input alongside text.

Can Apply 3 handle text-only tasks without images?

Yes, Apply 3 supports text-to-text processing in addition to image input.

Does Apply 3 support function calling and tool use?

Yes, Apply 3 supports function calling, parallel tool calls, and structured outputs.

Start building with Apply 3

Apply 3 API

relace/relace-apply-3

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/chat/completions' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "relace/relace-apply-3",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'