Source: https://ailoot.ai/models/en/cohere-north-mini-code-u003a-free/
Canonical: https://ailoot.ai/models/en/cohere-north-mini-code-u003a-free/
Language: en

# Cohere: North Mini Code (free)

[Markdown](https://ailoot.ai/models/en/cohere-north-mini-code-u003a-free/index.md) · [JSON](https://ailoot.ai/models/en/cohere-north-mini-code-u003a-free/facts.json)

## [Cohere: North Mini Code (free)](https://ailoot.ai/models/en/cohere-north-mini-code-u003a-free/)

North Mini Code 1.0 is Cohere’s text-only model for code generation, repository changes and terminal-driven agent tasks. Its sparse 30B-total/3B-active design supports tool use and interleaved thinking, with a documented 256K context and 64K output allowance.

- [**Ailoot Ultra · OpenAI Chat** `POST /v1/chat/completions` `cohere/north-mini-code:free`](https://ailoot.ai/models/en/cohere-north-mini-code-u003a-free/#method-0)
- [**Ailoot Ultra · Anthropic Messages** `POST /v1/messages` `cohere/north-mini-code:free`](https://ailoot.ai/models/en/cohere-north-mini-code-u003a-free/#method-1)

About the model

This description covers the model’s capabilities. Available in Ailoot inputs, outputs and options are listed for the selected method below.

North Mini Code 1.0 is Cohere’s model for agentic software engineering, terminal tasks and code generation. It takes text and produces text, including code, explanations and tool requests. The manufacturer released its weights under Apache 2.0 and identifies it as the first model in the North code-agent family. It is a specialized coding profile rather than an image-understanding model or a generic decision scorer.

#### Sparse architecture and coding preparation

The model has 30 billion total parameters with about 3 billion active. Its decoder-only Transformer uses a sparse Mixture of Experts with 128 experts, eight activated per token, and a dense layer before the sparse layers. Sliding-window attention with rotary positions is interleaved with global attention without positional embeddings in a 3:1 ratio. The active-parameter figure describes the computation used for a token, not the total set of weights that must be stored.

Cohere’s post-training uses two stages of supervised fine-tuning followed by reinforcement learning with verifiable rewards, focused on software engineering and terminal work. The producer describes training across multiple agent harnesses instead of one fixed scaffold. That supports preparing a task around the required behavior and available tools, while the surrounding harness remains responsible for obtaining files, executing commands and returning observations.

#### Prepare a repository-level change

Supply the current code and behavior, the requested change, the relevant file or interface boundaries and the evidence that will establish completion. For a bug, include the observed error or failing input and the expected result. For a feature, state the required behavior and the compatibility constraints. A useful final artifact is a proposed code change with an explanation and results from checks that actually ran.

An illustrative request can ask to update a parser for an additional supported input while preserving existing formats. Identify representative inputs and the part of the repository that defines the parser’s behavior. The model can use code and tool observations to develop the change; a generated patch or a statement that a command should run is not evidence that the command succeeded.

#### Terminal tools and structured observations

The native model card documents tool-use training and recommends JSON-schema tool descriptions through the model’s chat template. Describe a tool’s purpose and arguments clearly. A command-execution tool can return the actual output and status, while a file-inspection tool can return the material the next step needs. Keep each tool result associated with its call identifier so later analysis uses the intended observation.

The producer’s example preserves a tool call and the assistant’s reasoning in history, executes the tool, and adds its result before generating again. Its native template example uses a structured dictionary for the tool result. Preserve that representation according to the documented integration rather than assuming every unrelated API serializes tool results in the same way. A JSON schema describing a tool’s arguments is different from claiming arbitrary schema-constrained final output support.

#### Interleaved thinking and multi-turn history

North Mini Code supports interleaved thinking, which the producer recommends enabling for agentic work. Carry model-generated thinking content and tool calls into subsequent agent steps and conversation turns. The native example keeps a reasoning field with the assistant message and returns the corresponding tool observation afterward. This preserves the information the model used when deciding what to inspect or change next.

Keep the current objective, the source material and actual observations in the task history. For a longer repository task, summarize the final result around the changed behavior and the useful artifact, while retaining the evidence needed to review it. Interleaved reasoning does not imply that a short visible answer required no analysis, nor does it establish that an action described by the model has already occurred.

#### Standalone code and explanation tasks

The maker also identifies scientific coding and algorithmic reasoning outside an agent loop. Supply the problem definition, input and output format, constraints, relevant numerical assumptions and expected edge behavior. Ask for a complete function or program when that is the artifact required, with an explanation at the level the reader needs.

For code explanation, provide the implementation and the particular behavior or dependency to clarify. For data-visualization code, identify the supplied fields and the intended comparison rather than leaving the chart’s purpose implicit. The producer’s development examples include code explanation, editing, visualization and implementation from a specification. These are task patterns for generating or modifying code, not a promise of correct results for every repository or framework.

#### Context, output and generation settings

The manufacturer’s model card and API page list a 256K-token context window and a maximum output of 64K tokens. Prepare substantial repository material around those separate allowances and the final artifact’s size. Keep source boundaries and identifiers intact, and remove irrelevant material rather than assuming that a large window eliminates the need for a focused brief.

The native model card recommends temperature 1.0 and top\_p 0.95 for generation and uses the model’s chat template, including a generation prompt, for text and tool workflows. Its example output limits are settings for those examples, not a replacement for the model’s published maximum. Cohere publishes BF16 weights and a separately named FP8 artifact. Select the appropriate artifact when preparing a deployment.

A useful North Mini Code result is an inspectable code artifact or technical explanation tied to the supplied requirements. Compare the result with the original behavior and actual tool output, check assumptions that affect the code, and retain the source and observations needed for review. The text-only coding model supplies reasoning and generated content; the surrounding application performs the operations that turn those proposals into a completed software task.

**Ailoot Ultra · OpenAI Chat** `POST /v1/chat/completions` `cohere/north-mini-code:free`

[`cohere/north-mini-code:free`](https://ailoot.ai/models/en/#m=cohere%2Fnorth-mini-code%3Afree&route=Ultra&caller=cohere%2Fnorth-mini-code%3Afree&fmt=chat)

Cohere /`cohere/north-mini-code:free`

### Overview

North Mini Code 1.0 is Cohere’s text-only model for code generation, repository changes and terminal-driven agent tasks. Its sparse 30B-total/3B-active design supports tool use and interleaved thinking, with a documented 256K context and 64K output allowance.

Accepted inputs

Text

Results

Text

### Available in Ailoot · inputs & methods

**Ailoot Ultra · OpenAI Chat** `POST /v1/chat/completions`

Input types

`text`

Output types

`text`

Context

256,000 tokens

Maximum output

64,000 tokens

Output format

JSON

| Field | Type | Requirement | Values & limits | Default |
| --- | --- | --- | --- | --- |
| Field`model` | Type`string` | RequirementRequired | Values & limits cohere/north-mini-code:free | Default— |
| Field`messages` | Type`array` | RequirementRequired | Values & limits | Default— |
| Field`stream` | Type`boolean` | RequirementOptional | Values & limits false | Defaultfalse |
| Field`max_tokens` | Type`integer` | RequirementOptional | Values & limits Minimum: 1 Maximum: 64,000 | Default— |
| Field`max_completion_tokens` | Type`integer` | RequirementOptional | Values & limits Minimum: 1 Maximum: 64,000 | Default— |
| Field`n` | Type`integer` | RequirementOptional | Values & limits Minimum: 1 Maximum: 128 | Default— |
| Field`temperature` | Type`number` | RequirementOptional | Values & limits | Default— |
| Field`top_p` | Type`number` | RequirementOptional | Values & limits | Default— |
| Field`seed` | Type`integer` | RequirementOptional | Values & limits | Default— |
| Field`stop` | Type`` | RequirementOptional | Values & limits | Default— |
| Field`frequency_penalty` | Type`number` | RequirementOptional | Values & limits | Default— |
| Field`presence_penalty` | Type`number` | RequirementOptional | Values & limits | Default— |
| Field`user` | Type`string` | RequirementOptional | Values & limits | Default— |

Method parameters and lifecycle

| Parameter | Contract |
| --- | --- |
| Parameter`content_type` | Contractapplication/json |
| Parameter`required` | Contractmodel, messages |
| Parameter`optional` | Contractstream, max\_tokens, max\_completion\_tokens, n, temperature, top\_p, seed, stop, frequency\_penalty, presence\_penalty, user |
| Parameter`material_types` | Contracttext |
| Parameter`conditions` | ContractUse literal text messages only. Cache controls, tools, image/audio/video content and streamed responses are unavailable for this method., The complete encoded JSON request must not exceed 256000 bytes. |

Lifecycle: `synchronous_json`

### Pricing

Tariff references do not add request options. Supported parameters are listed for the selected method.

Fast mode

Standard rate When fast mode is selected

Flex mode

Standard rate When flex mode is selected

Maximum reasoning effort

Standard rate When maximum reasoning effort uses the default adjustment

Explicit cache pricing

Not enabled When explicit cache is requested

Text-only zero rates

Text input and output only. Cache, tools, media and streaming are unavailable. For text-only input and output

#### Ailoot rates

#### Prices by configuration

| Configuration | Rate schedule | Charge |
| --- | --- | --- |
| ConfigurationBase token rates | Rate scheduleBase rate | Charge Input · Input tokens **$0** / 1K tokens Output · Output tokens **$0** / 1K tokens Input · Cache read **—** / 1K tokens Input · Cache write **—** / 1K tokens Input · Cache write, 1 hour **—** / 1K tokens |

Ailoot reserves an estimated amount before a request. After the result, it settles the final charge from measured usage. Streaming settlement uses the final usage record. [How reservation and settlement work →](https://ailoot.ai/docs/en/billing/reserve/)

### Example requests

#### Ailoot Ultra · OpenAI Chat

curl · create once and retain the complete result

```bash
set -eu
: "${AILOOT_API_KEY:?Set your Ailoot API key}"
export AILOOT_API_KEY
python3 - <<'PY_REQUEST'
import json,os
from pathlib import Path
p=json.loads('{"model": "cohere/north-mini-code:free", "messages": [{"role": "user", "content": "Summarize the supplied text in three concise points."}], "stream": false}')

Path("request.json").write_text(json.dumps(p,ensure_ascii=False))
PY_REQUEST
curl --fail-with-body --silent --show-error https://api.ailoot.ai/v1/chat/completions \
  -H "Authorization: Bearer $AILOOT_API_KEY" -H 'Content-Type: application/json' \
  --data-binary @request.json -D response-headers.txt -o result.json
# Submit once. Retain the complete result, original identifiers and every response header.
```

### Receive and save results

#### Ailoot Ultra · OpenAI Chat

JSON

##### Keep all completed results

Keep every complete returned response, file and content part.

Retain the complete response, all actual results, original identifiers, usage and response headers.

##### If the original response needs checking

Preserve the original response, headers and X-Client-Request-ID. An uncertain outcome does not authorize another creation.

### Aliases

#### Model aliases

**Ailoot Ultra** [`cohere/north-mini-code:free`](https://ailoot.ai/models/en/#m=cohere%2Fnorth-mini-code%3Afree&route=Ultra&caller=cohere%2Fnorth-mini-code%3Afree&fmt=chat)

#### Method path aliases

Use the method paths shown above.

#### Related caller IDs

[`cohere/north-mini-code:free`](https://ailoot.ai/models/en/#m=cohere%2Fnorth-mini-code%3Afree&route=Ultra&caller=cohere%2Fnorth-mini-code%3Afree&fmt=chat)

**Ailoot Ultra · Anthropic Messages** `POST /v1/messages` `cohere/north-mini-code:free`

[`cohere/north-mini-code:free`](https://ailoot.ai/models/en/#m=cohere%2Fnorth-mini-code%3Afree&route=Ultra&caller=cohere%2Fnorth-mini-code%3Afree&fmt=messages)

Cohere /`cohere/north-mini-code:free`

### Overview

North Mini Code 1.0 is Cohere’s text-only model for code generation, repository changes and terminal-driven agent tasks. Its sparse 30B-total/3B-active design supports tool use and interleaved thinking, with a documented 256K context and 64K output allowance.

Accepted inputs

Text

Results

Text

### Available in Ailoot · inputs & methods

**Ailoot Ultra · Anthropic Messages** `POST /v1/messages`

Input types

`text`

Output types

`text`

Context

256,000 tokens

Maximum output

64,000 tokens

Output format

JSON

| Field | Type | Requirement | Values & limits | Default |
| --- | --- | --- | --- | --- |
| Field`model` | Type`string` | RequirementRequired | Values & limits cohere/north-mini-code:free | Default— |
| Field`messages` | Type`array` | RequirementRequired | Values & limits | Default— |
| Field`stream` | Type`boolean` | RequirementOptional | Values & limits false | Defaultfalse |
| Field`system` | Type`string` | RequirementOptional | Values & limits | Default— |
| Field`max_tokens` | Type`integer` | RequirementRequired | Values & limits Minimum: 1 Maximum: 64,000 | Default— |
| Field`temperature` | Type`number` | RequirementOptional | Values & limits | Default— |
| Field`top_p` | Type`number` | RequirementOptional | Values & limits | Default— |
| Field`top_k` | Type`integer` | RequirementOptional | Values & limits | Default— |
| Field`stop_sequences` | Type`array` | RequirementOptional | Values & limits | Default— |
| Field`metadata` | Type`object` | RequirementOptional | Values & limits | Default— |

Method parameters and lifecycle

| Parameter | Contract |
| --- | --- |
| Parameter`content_type` | Contractapplication/json |
| Parameter`required` | Contractmodel, messages, max\_tokens |
| Parameter`optional` | Contractstream, system, temperature, top\_p, top\_k, stop\_sequences, metadata |
| Parameter`material_types` | Contracttext |
| Parameter`conditions` | ContractUse literal text messages only. Cache controls, tools, image/audio/video content and streamed responses are unavailable for this method., The complete encoded JSON request must not exceed 256000 bytes. |

Lifecycle: `synchronous_json`

### Pricing

Tariff references do not add request options. Supported parameters are listed for the selected method.

Fast mode

Standard rate When fast mode is selected

Flex mode

Standard rate When flex mode is selected

Maximum reasoning effort

Standard rate When maximum reasoning effort uses the default adjustment

Text-only zero rates

Text input and output only. Cache, tools, media and streaming are unavailable. For text-only input and output

#### Ailoot rates

#### Prices by configuration

| Configuration | Rate schedule | Charge |
| --- | --- | --- |
| ConfigurationBase token rates | Rate scheduleBase rate | Charge Input · Input tokens **$0** / 1K tokens Output · Output tokens **$0** / 1K tokens Input · Cache read **—** / 1K tokens Input · Cache write **—** / 1K tokens Input · Cache write, 1 hour **—** / 1K tokens |

Ailoot reserves an estimated amount before a request. After the result, it settles the final charge from measured usage. Streaming settlement uses the final usage record. [How reservation and settlement work →](https://ailoot.ai/docs/en/billing/reserve/)

### Example requests

#### Ailoot Ultra · Anthropic Messages

curl · create once and retain the complete result

```bash
set -eu
: "${AILOOT_API_KEY:?Set your Ailoot API key}"
export AILOOT_API_KEY
python3 - <<'PY_REQUEST'
import json,os
from pathlib import Path
p=json.loads('{"model": "cohere/north-mini-code:free", "messages": [{"role": "user", "content": "Summarize the supplied text in three concise points."}], "stream": false, "max_tokens": 256}')

Path("request.json").write_text(json.dumps(p,ensure_ascii=False))
PY_REQUEST
curl --fail-with-body --silent --show-error https://api.ailoot.ai/v1/messages \
  -H "Authorization: Bearer $AILOOT_API_KEY" -H 'Content-Type: application/json' \
  --data-binary @request.json -D response-headers.txt -o result.json
# Submit once. Retain the complete result, original identifiers and every response header.
```

### Receive and save results

#### Ailoot Ultra · Anthropic Messages

JSON

##### Keep all completed results

Keep every complete returned response, file and content part.

Retain the complete response, all actual results, original identifiers, usage and response headers.

##### If the original response needs checking

Preserve the original response, headers and X-Client-Request-ID. An uncertain outcome does not authorize another creation.

### Aliases

#### Model aliases

**Ailoot Ultra** [`cohere/north-mini-code:free`](https://ailoot.ai/models/en/#m=cohere%2Fnorth-mini-code%3Afree&route=Ultra&caller=cohere%2Fnorth-mini-code%3Afree&fmt=messages)

#### Method path aliases

Use the method paths shown above.

#### Related caller IDs

[`cohere/north-mini-code:free`](https://ailoot.ai/models/en/#m=cohere%2Fnorth-mini-code%3Afree&route=Ultra&caller=cohere%2Fnorth-mini-code%3Afree&fmt=messages)

FAQ · Cohere: North Mini Code (free)

What inputs and results are available?

`POST /v1/chat/completions` · `cohere/north-mini-code:free`: `text` → `text` `POST /v1/messages` · `cohere/north-mini-code:free`: `text` → `text`

Which fields does the request use?

`POST /v1/chat/completions` · `cohere/north-mini-code:free`: `model`, `messages`, `stream`, `max_tokens`, `max_completion_tokens`, `n`, `temperature`, `top_p`, `seed`, `stop`, `frequency_penalty`, `presence_penalty`, `user` `POST /v1/messages` · `cohere/north-mini-code:free`: `model`, `messages`, `stream`, `system`, `max_tokens`, `temperature`, `top_p`, `top_k`, `stop_sequences`, `metadata`

What limits apply?

`POST /v1/chat/completions` · `cohere/north-mini-code:free`: `ctx`: `256000`; `max_out`: `64000`; `max_tokens.minimum`: `1`; `max_tokens.maximum`: `64000`; `max_completion_tokens.minimum`: `1`; `max_completion_tokens.maximum`: `64000`; `n.minimum`: `1`; `n.maximum`: `128` `POST /v1/messages` · `cohere/north-mini-code:free`: `ctx`: `256000`; `max_out`: `64000`; `max_tokens.minimum`: `1`; `max_tokens.maximum`: `64000`

Connect Ailoot to Claude Code, OpenCode, Hermes or your own app.

## The company and its project portfolio

The company and its project portfolio: millions of customers; monthly sales in the billions.

## Buy tokens at a discount.

Subscription discounts for regular use. Promo codes offer up to 50% off token purchases.

Subscription

Choose a discounted plan for your regular requests.

Promo code: up to 50% off

Enter your code at checkout. The price updates to reflect the current promotion.

Spending in your history

The model, tokens and amount are recorded for each request.

[Choose a subscription](https://ailoot.ai/docs/en/billing/subscriptions/) · [View model prices](https://ailoot.ai/models/en/)

## Connect the API to a product you sell.

Use Ailoot in SaaS, apps and bots under its official service offer and licence agreement. Request a reseller licence for resale.

Commercial application

Add text, image, video and audio generation to paid features in your service.

Reseller licence

Send a description of your project and how you provide access. Request written terms for use and resale.

Documents on the website

The service offer, licence agreement and data processing policy are available before you connect.

[Request a reseller licence](mailto:support@ailoot.ai) · [Service offer and licence agreement](https://ailoot.ai/legal/offer?lang=en)

## Ailoot · The company and its project portfolio





Ailoot combines established operating experience, a large client base, stable service and ongoing KPI control.





The company and its project portfolio: millions of customers; monthly sales in the billions.





Ailoot brings that operating experience to API access for AI features in customer products, agents, applications and automations.
