---
title: "General Llm Inference"
method: POST
path: "/research/llm"
tags: ["research", "research"]
---

# General Llm Inference

`POST /research/llm`

## Request

- Base URL: `https://api.fincept.in` (the document declares no server; this is the origin it was published from)
- URL: `https://api.fincept.in/research/llm`
- Auth: API key in header `X-API-Key`

General-purpose LLM endpoint for running agents, processing data, and AI tasks.

This endpoint allows you to use Fincept API as your LLM provider for:
- Running AI agents
- Data processing and analysis
- Code generation
- Text summarization
- Question answering
- Any other LLM-based tasks

Cost: 5 credits per successful response
Note: Credits are ONLY deducted on successful LLM response. If the LLM fails, no credits are charged.

Rate limit: 1 request per second

## Request body

- LLMRequest
  - `prompt` string, required
  - `model` string, nullable
  - `max_tokens` integer, nullable
  - `temperature` number, nullable
  - `tools` unknown[], nullable
    - unknown
  - `tool_choice` object, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fincept/apis/fincept-api.md) · [All operations](https://skmtc.dev/fincept/apis/fincept-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fincept/apis/fincept-api/revisions/e9c0076ea55a?raw)
