AI Coding

A coding assistant that reads the whole repo, not one file.

Put DataGo behind your editor, CI, or review bot. Long-context models for cross-file refactors, cheap models for autocomplete called thousands of times a day. The endpoint is standard, so you keep your SDK.

  • Endpointapi.datago.id/v1
  • CompatibleOpenAI & Anthropic SDK
  • Billingper token, in IDR
The problem

Why review and refactor are always the bottleneck

Writing new code is fast now. What is slow: understanding files you did not write, chasing bugs that slipped through, and writing tests for someone else's diff. The model you use needs long context and a consistent sense of your code style — not just "a smart AI".

  • PRs pile up because a human reviewer is the only gate
  • The same bugs keep returning: unindexed queries, race conditions, committed secrets
  • Tests get written last — or never — because they cost time
What you get

Three jobs, one endpoint

01

Automated PR review

Send the diff plus file context, ask for findings as JSON: file, line, severity, suggested patch. Your bot posts it as a PR comment.

02

Cross-file refactor

Long-context models read several files at once, so a new pattern lands consistently without you re-explaining it file by file.

03

Tests from the diff

A diff already carries intent. The model derives the cases: happy path, edge cases, and error paths.

Pipeline

How it works

Three steps, all inside your own infrastructure.

  1. 01

    Editor or CI sends the diff

    Send the diff plus related files only. Do not ship the whole repo when you do not need to — tokens are money.

  2. 02

    DataGo picks the model

    Autocomplete to a cheap model, architecture review to a long-context model. Switching models is one string.

  3. 03

    Findings land in the PR or editor

    Structured JSON output, ready to post as PR comments or inline editor diagnostics.

Models

Models that fit coding

Prices are pulled from the catalog when the page loads. Estimates use typical token counts for coding tasks.

Models that fit coding
Model Role Input / 1M Output / 1M Estimate / request
moonshot/kimi-k2.7-code Default pick: long repo context, cheap at volume Rp5.985 Rp25.200 Rp35,12
deepseek/deepseek-v4.1-flash Autocomplete and quick tasks, cheapest for thousands of daily calls Rp1.350 Rp5.175 Rp2,63
anthropic/claude-fable-5.1 Architecture review and hard refactors — only for large PRs Rp47.250 Rp196.875 Rp484,31

Estimates use the token counts shown in the header. Prices update automatically whenever the catalog changes.

Browse all coding models
Code

Send a diff for review

Uses the official SDKs — just change base_url. Keep the API key on the server, never in the browser.

review_pr.py
import os, subprocess
from openai import OpenAI

client = OpenAI(
    base_url="https://api.datago.id/v1",
    api_key=os.environ["DATAGO_API_KEY"],
)

diff = subprocess.run(
    ["git", "diff", "origin/main..."],
    capture_output=True, text=True, check=True,
).stdout

review = client.chat.completions.create(
    model="moonshot/kimi-k2.7-code",
    messages=[
        {"role": "system", "content": "You are a senior reviewer. Reply as JSON: [{file, line, severity, issue, patch}]."},
        {"role": "user", "content": diff},
    ],
    response_format={"type": "json_object"},
)

print(review.choices[0].message.content)

→ Store the key in server environment variables or CI secrets. Never ship it in front-end code.

Fit check

Good fit when

  • PR review has become a queue rather than a discussion
  • Repos with many uniform files: monorepos, boilerplate, generated code
  • CI needs an automated gate before merge, not just lint

Not for

  • You need a model that executes code — that is a sandbox, not an LLM API
  • You want a model retrained on internal code: DataGo does not fine-tune

Coding questions

01 Is my code stored?

No. Prompts and responses are not stored by DataGo; only token counts for billing, and keys can be revoked at any time from the dashboard.

02 Does it work with Cursor, Cline, or opencode?

Yes. They all accept a custom base URL with the OpenAI format — point it at https://api.datago.id/v1 and use your DataGo key.

03 Which model is cheapest for autocomplete?

For high volume, DeepSeek V4.1 Flash or Kimi K2.7 Code. Live prices are in the table above so you can compare before committing.

04 Answers get too long and hit the token limit — what then?

Cap max_tokens and send diffs per file instead of one giant PR. For a full review, split by directory and merge the findings.

Review one PR right now

Sign up, grab one key, run a single test request. It costs a few rupiah — not a monthly subscription.